﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YiSha.Enum
{
    public enum StatusEnum
    {
        [Description("启用")]
        Yes = 1,

        [Description("禁用")]
        No = 0
    }


    public enum AuthorizeEnum
    {
        [Description("全部")]
        All = 0,

        [Description("Web")]
        Web = 1,

        [Description("小程序")]
        applet = 2
    }


    public enum GoodsPublishStatusEnum
    {
        [Description("上架")]
        Yes = 1,

        [Description("下架")]
        No = 0
    }

    public enum GoodsIsMasterStatusEnum
    {
        [Description("是")]
        Yes = 1,

        [Description("否")]
        No = 0
    }

    public enum GoodsAuditStatusEnum
    {
        [Description("已审核")]
        Yes = 1,

        [Description("未审核")]
        No = 0
    }

    public enum GoodsTypeStatus
    {
        [Description("租车")]
        租车 = 1,

        [Description("新车")]
        新车 = 2,
        [Description("二手车")]
        二手车 = 3,
        [Description("骑行装备")]
        骑行装备 = 4

    }

    public enum OrderTypeStatus
    {
        [Description("租车")]
        租车 = 1,
        [Description("新车")]
        新车 = 2,
        [Description("二手车")]
        二手车 = 3,
        [Description("骑行装备")]
        骑行装备 = 4
    }

    public enum ShopStatusEnum
    {
        [Description("单车超市")]
        单车超市 = 1,

        [Description("装备超市")]
        装备超市 = 2,

        [Description("租车")]
        租车 = 3
    }

    public enum ShopTypeEnum
    {
        [Description("启用")]
        Yes = 1,

        [Description("禁用")]
        No = 0
    }

    public enum PickStatusEnum
    {
        [Description("是")]
        Yes = 1,

        [Description("否")]
        No = 0
    }

    public enum ShopWorkStatusEnum
    {
        [Description("休息")]
        休息 = 1,

        [Description("营业中")]
        营业中 = 0,

        [Description("停业")]
        停业 = 2
    }




    public enum IsEnum
    {
        [Description("是")]
        Yes = 1,

        [Description("否")]
        No = 0
    }

    public enum NeedEnum
    {
        [Description("不需要")]
        NotNeed = 0,

        [Description("需要")]
        Need = 1
    }

    public enum OperateStatusEnum
    {
        [Description("失败")]
        Fail = 0,

        [Description("成功")]
        Success = 1
    }

    public enum UploadFileType
    {
        [Description("头像")]
        Portrait = 1,

        [Description("新闻图片")]
        News = 2,
        [Description("骑行图片")]
        Qixing = 3,
        [Description("骑行视频")]
        QixingVideo = 4,
        [Description("导入的文件")]
        Import = 10
    }

    public enum PlatformEnum
    {
        [Description("Web后台")]
        Web = 1,

        [Description("WebApi")]
        WebApi = 2
    }

    public enum PayStatusEnum
    {
        [Description("未知")]
        Unknown = 0,

        [Description("已支付")]
        Success = 1,

        [Description("转入退款")]
        Refund = 2,

        [Description("未支付")]
        NotPay = 3,

        [Description("已关闭")]
        Closed = 4,

        [Description("已撤销（付款码支付）")]
        Revoked = 5,

        [Description("用户支付中（付款码支付）")]
        UserPaying = 6,

        [Description("支付失败(其他原因，如银行返回失败)")]
        PayError = 7
    }

    public enum PaymentMethodEnum
    {
        [Description("现金")]
        现金 = 1,
        [Description("余额")]
        余额 = 2,
        [Description("网银")]
        网银 = 3,
        [Description("支付宝")]
        支付宝 = 4,
        [Description("微信")]
        微信 = 5
    }

    public enum OrderStatusEnum
    {
        [Description("待付款")]
        待付款 = 0,
        [Description("待发货")]
        待发货 = 1,
        [Description("已发货")]
        已发货 = 2,
        [Description("已完成")]
        已完成 = 3,
        [Description("已关闭")]
        已关闭 = 4,
        [Description("无效订单")]
        无效订单 = 5
    }

    public enum PostStatusEnum
    {
        [Description("待审核")]
        待付款 = 0,
        [Description("已通过")]
        待发货 = 1,
        [Description("拒绝")]
        无效订单 = 2
    }
}
